home *** CD-ROM | disk | FTP | other *** search
- # set term vgabios
- pause -1 "first plotting the pure data set (-> return)"
-
- set xlabel "Delta [degrees]"
- set ylabel "Reflectivity"
- plot 'moli3.dat'
-
- pause 0 "now fitting the model function to the data"
- load 'reflect.fnc'
-
- eta = 1.2e-2
- tc = 1.8e-3
-
- show variables
- show functions
- pause -1 "first a plot with all parameters set to initial values (-> return)"
- plot 'moli3.dat', R(x)
- pause -1 "now start fitting... (-> return)"
- fit R(x) 'moli3.dat' via eta, tc
- pause -1 "now look at the result (-> return)"
- plot 'moli3.dat', R(x)
-
- pause 0 "You can have a look at all previous fit results by looking into"
- pause 0 "the file 'fit.log' or whatever you defined the env-variable 'FIT_LOGFILE'."
- pause 0 "Remember that this file will always be appended, so remove it"
- pause 0 "from time to time!"
- pause 0 ""
-